!function(){"use strict";var n="__lytics__jstag__",C=window,d=C.document;function s(e,t,n){var o=-1,i=e.length;for(2===arguments.length&&i&&(n=e[++o]);++o>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(t),i.set(e,t.length),(i=c(i))[6]=15&i[6]|r,i[8]=63&i[8]|128,n){o=o||0;for(var a=0;a<16;++a)n[o+a]=i[a];return n}return ze(i)}try{t.name=e}catch(e){}return t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t}function Ve(e){return 14+(e+64>>>9<<4)+1}function Ke(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function qe(e,t,n,o,i,a){return Ke(function(e,t){return e<>>32-t}(Ke(Ke(t,e),Ke(o,a)),i),n)}function Re(e,t,n,o,i,a,r){return qe(t&n|~t&o,e,t,i,a,r)}function Be(e,t,n,o,i,a,r){return qe(t&o|n&~o,e,t,i,a,r)}function Ge(e,t,n,o,i,a,r){return qe(t^n^o,e,t,i,a,r)}function We(e,t,n,o,i,a,r){return qe(n^(t|~o),e,t,i,a,r)}function Ye(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!De&&!(De="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return De(Oe)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=o[i];return t}return ze(o)}function Qe(e,t,n,o){switch(e){case 0:return t&n^~t&o;case 1:return t^n^o;case 2:return t&n^t&o^n&o;case 3:return t^n^o}}function Je(e,t){return e<>>32-t}function $e(e){return e.replace(/\/$/,"")}function Ze(e,t,n){var o=2>5]>>>i%32&255,r=parseInt(o.charAt(a>>>4&15)+o.charAt(15&a),16);t.push(r)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[o/8])<>>0;b=y,y=v,v=Je(m,30)>>>0,m=h,h=E}n[0]=n[0]+h>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]});var et=H({croaked:!0,toString:function(){return"CROAK"}});function tt(e,t,n){e.ns("audit.mustEnable"),e.expose({use:function(e){try{return r.call(this,e)}catch(e){if(e!==et)throw e}return this}}),e.hold({mustEnable:function(){if(null==this.namespace)throw new Error("You must claim a namespace before using .mustEnable()!");var e=Xe(n,this.namespace.split("."));if(null==e||e.disabled)throw this.carp("Plugin disabled by configuration"),et}})}var nt=function(){function t(e){o(this,t),this.data=e}return a(t,[{key:"getAt",value:function(e){return Xe(this.data,e)}},{key:"toLegacyStyle",value:function(){return this.data.user}}],[{key:"fromPayload",value:function(e){return new t(e.data)}},{key:"fromLegacyPayload",value:function(e){return new t(function(e){return{user:e}}(e.data))}}]),t}(),ot=H(["all"]);function it(n,e,o){n.ns("segments"),n.defaults({segments:{disabled:!1,storageKey:"lytics_segments",storage:ue(localStorage),defaultSegments:ue(ot)}}),n.mustEnable();var i=void 0;n.pushIntegration({success:function(e){if(null==(i=e.getSegments()))return n.carp("Entity has no segments! Falling back to the default segments!"),void(i=o.segments.defaultSegments);var t=y(function(){return JSON.stringify(i)});null!=t&&o.segments.storage.setItem(o.segments.storageKey,t)}}),n.expose({loadSegments:function(t){e.loadEntity(function(e){t(e.getSegments())})},getSegments:function(){return y(function(){if(null==i){var e=o.segments.storage.getItem(o.segments.storageKey);if(null==e)throw new Error("Segments not loaded! Failing over to default segments");i=JSON.parse(e)}return i},function(e){return n.carp(e),i=o.segments.defaultSegments})}}),e.once("lifecycle.teardown.requested",function(){n.emit("segments.storageCleared"),localStorage.removeItem(o.segments.storageKey)}),nt.prototype.getSegments=function(){var e=this.data;return null==e||null==e.user?o.segments.defaultSegments:g(this.data.user.segments,function(e){return"not_found"!==e||(n.carp("`not_found` segment detected and filtered!"),!1)})}}function at(){return(new Date).getTime()}var rt=C.navigator,ct=rt.userAgent;function st(e){return e.replace(/^https?:\/\//,"")}function lt(e,t,n){if(function(){var e=rt.userAgent||rt.vendor||C.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4))}()){e._mob="t";var o="unknown";/Android/i.test(ct)?o="Android":/BlackBerry/i.test(ct)?o="Blackberry":/iPhone|iPad|iPod/i.test(ct)?o="IOS":/IEMobile/i.test(ct)&&(o="WinMobile"),e._device=o}else e._nmob="t",e._device="desktop";e.url=st(w.href),y(function(){return C.self!==C.top},function(){return!0})&&(e._if="t"),"_uid"in e&&!e._uid&&delete e._uid;var i=n.getCookie("_ga");if(null!=i&&0i&&(r.push(l),l={}),l[e]=o[e],t===a.length-1&&r.push(l)}),r}(o,c.facebook.ads.audiencePush.maxMessageLength),function(e){i(e)}),r.emit("facebook.ads.audiencePush.done",o)}else r.carp("No segments to send!");function i(e){t.push(["track",c.facebook.ads.audiencePush.eventName,e]),l++}})}})}function nn(e,t,n){e.ns("pathfora.install");var o=$e(n.url);function i(){return n.pathfora.install.css.disabled?(e.carp("custom css installation disabled"),void r()):null==n.pathfora.install.css.src?(e.carp("custom css installation has invalid src"),void r()):void function(e,t,n){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.href=e,o.onload=t,o.onerror=n;var i=document.getElementsByTagName("link")[0],a=i&&i.parentNode||document.head||document.body,r=i||a.lastChild;null!=r?a.insertBefore(o,r):a.appendChild(o)}(n.pathfora.install.css.src,function(){n.pathfora.install.css.loaded=!0,e.emit(Vt.CSS_SUCCEEDED),r()},function(){e.carp("custom css installation failed"),r()})}function a(){n.pathfora.install.sdk.loaded=!0,e.emit(Vt.SDK_SUCCEEDED),i()}function r(){e.emit(Vt.SUCCEEDED),e.emit(Vt.DONE)}function c(){e.emit(Vt.DONE)}e.defaults({pathfora:{install:{global:"pathfora",disabled:!0,sdk:{disabled:!0,loaded:!1,lazy:!0,src:"".concat(o,"/static/pathfora.min.js")},css:{disabled:!0,loaded:!1,src:void 0}}}}),e.mustEnable(),t.once("pathfora.*.sdkNotDetected",function(){return n.pathfora.install.sdk.disabled?(e.carp("sdk installation disabled"),void c()):null!=window.pathfora?(e.carp("already installed"),void a()):null==n.pathfora.install.sdk.src?(e.carp("sdk installation has invalid src"),void c()):("https://c.lytics.io"!==o&&(window.PathforaCSS="".concat(o,"/static/pathfora.min.css")),void f(n.pathfora.install.sdk.src,function(){a()},function(){e.carp("sdk installation failed"),c()}))}),!1===n.pathfora.install.sdk.lazy&&e.poll({property:n.pathfora.install.global,retries:0,failure:function(){e.emit(Vt.SDK_NOT_DETECTED)}})}function on(n,e,o){function t(){var e=_(o.location),t={};return 0")}}}),n.mustEnable(),e.on("lio.push",function(){e.getid(function(e){var t=B("".concat(o.taboola.dmp.redirectUrl,"&_uid=").concat(e,"&account_id=").concat(o.cid[0]));n.pixel({src:"".concat(o.taboola.dmp.baseUrl,"/").concat(o.taboola.dmp.partnerId,"/1/cm?redirect=").concat(t),success:function(){n.emit("taboola.dmp.succeeded")},failure:function(){n.carp("Failed loading pixel!"),n.emit("taboola.dmp.failed")}})})})}function sn(t,e,n){if(t.ns("thetradedesk.dsp"),t.defaults({thetradedesk:{dsp:{disabled:!0,baseUrl:"https://match.adsrvr.org/track/cmf/generic",partnerId:void 0}}}),t.mustEnable(),null==n.thetradedesk.dsp.partnerId)return t.carp('"partnerId" needs to be passed into config!'),void t.emit("thetradedesk.dsp.failed");e.on("lio.push",function(){e.getid(function(e){t.pixel({src:"".concat(n.thetradedesk.dsp.baseUrl,"/?ttd_pid=").concat(n.thetradedesk.dsp.partnerId,"&ttd_puid=").concat(e,"&ttd_puid=").concat(n.cid[0],"&ttd_tpi=1&gpdr=0&domain=").concat(location.hostname.replace(/^www\./,"")),success:function(){t.emit("thetradedesk.dsp.succeeded")},failure:function(){t.carp("Failed loading pixel!"),t.emit("thetradedesk.dsp.failed")}})})})}function ln(e){return Number.isNaN(+e)?new Date(e):new Date(+e)}function un(n,o,i){n.ns("google.dv360"),n.defaults({google:{dv360:{disabled:!0,baseUrl:"https://cm.g.doubleclick.net/pixel",bidderAccountNid:"lytics",entityIdModifiedAtField:"user.dv360_id_ts",cookieTTL:6048e5,lyticsStream:"google_dv360"}}}),n.mustEnable(),null!=i.google.dv360.bidderAccountNid?o.getid(function(t){o.entityReady(function(e){+ln(e.getAt(i.google.dv360.entityIdModifiedAtField.split(".")))>Date.now()-i.google.dv360.cookieTTL?n.emit("google.dv360.skipped"):n.pixel({src:"".concat(i.google.dv360.baseUrl,"?google_cm&google_nid=").concat(i.google.dv360.bidderAccountNid,"&google_hm=").concat(btoa(t)),success:function(){o.send(i.google.dv360.lyticsStream),n.emit("google.dv360.succeeded")},failure:function(){n.carp("Failed loading pixel!"),n.emit("google.dv360.failed")}})})}):n.carp("Missing required config option: google.dv360.bidderAccountNid!")}function dn(n,e,o){n.ns("yahoo.datax"),n.defaults({yahoo:{datax:{disabled:!0,baseUrl:"https://ups.analytics.yahoo.com/ups/58702/cms",partnerId:"LYTICS",lyticsStream:"yahoo",entityIdModifiedAtField:"user.yahoo_id_ts",cookieTTL:12096e5,gdpr:!1,gdprConsent:void 0}}}),n.mustEnable(),null!=o.yahoo.datax.partnerId?e.getid(function(t){e.entityReady(function(e){+ln(e.getAt(o.yahoo.datax.entityIdModifiedAtField.split(".")))>Date.now()-o.yahoo.datax.cookieTTL?n.emit("yahoo.datax.skipped"):n.pixel({src:"".concat(o.yahoo.datax.baseUrl,"?partner_id=").concat(o.yahoo.datax.partnerId,"&account_id=").concat(o.cid[0],"&_uid=").concat(t).concat(o.yahoo.datax.gdpr?"gdpr=1&gdpr_consent=".concat(o.yahoo.datax.gdprConsent):""),success:function(){n.emit("yahoo.datax.succeeded")},failure:function(){n.carp("Failed loading pixel!"),n.emit("yahoo.datax.failed")}})})}):n.carp("Missing required config option: yahoo.datax.partnerId!")}function fn(n,e,o){n.ns("criteo.ads"),n.defaults({criteo:{ads:{disabled:!0,baseUrl:"https://gum.criteo.com/sync",partnerId:"595",redirectUrl:"".concat($e(o.url),"/c/provider/criteo?criteo_id=@USERID@")}}}),n.mustEnable(),e.on("lio.push",function(){e.getid(function(e){var t=B("".concat(o.criteo.ads.redirectUrl,"&_uid=").concat(e,"&account_id=").concat(o.cid[0]));n.pixel({src:"".concat(o.criteo.ads.baseUrl,"?c=").concat(o.criteo.ads.partnerId,"&r=1&u=").concat(t),success:function(){n.emit("criteo.ads.succeeded")},failure:function(){n.carp("Failed loading pixel!"),n.emit("criteo.ads.failed")}})})})}function pn(t){C[n][t]=function(){var e;if(null==Qt)throw new Error("You must first call .init()");return(e=Qt)[t].apply(e,arguments)}}function gn(e,t){C[n][e]=t}function hn(){Qt&&Qt.tearDown(),m(U,clearTimeout),U.length=0}(Mt=zt||(zt={})).SENDING="google.ga4.sending",Mt.SUCCESS="google.ga4.success",Mt.FAILED="google.ga4.failed",(Kt=Vt||(Vt={})).SUCCEEDED="pathfora.install.succeeded",Kt.SDK_NOT_DETECTED="pathfora.install.sdkNotDetected",Kt.SDK_SUCCEEDED="pathfora.install.sdk.succeeded",Kt.CSS_SUCCEEDED="pathfora.install.css.succeeded",Kt.DONE="pathfora.install.done",(Rt=qt||(qt={})).DONE="pathfora.preview.done",Rt.SDK_NOT_DETECTED="pathfora.preview.sdkNotDetected",(Gt=Bt||(Bt={})).SUCCEEDED="pathfora.publish.succeeded",Gt.DONE="pathfora.publish.done",Gt.SDK_NOT_DETECTED="pathfora.publish.sdkNotDetected",Gt.LEGACY_CALLBACKS_FLUSHED="pathfora.publish.legacy.pathforaCallbackFlushed",Gt.AB_TESTS_INITIALIZED="pathfora.publish.current.abtestsInitialized",Gt.WIDGETS_INITIALIZED="pathfora.publish.current.widgetsInitialized",(Yt=Wt||(Wt={})).SUCCEEDED="amazon.dsp.succeeded",Yt.FAILED="amazon.dsp.failed",C[n]||(C[n]=C[e]||{}),gn("JSTag",xt),gn("init",(pn("loadScript"),pn("use"),gn("extend",v),gn("ckieGet",xe),gn("ckieSet",Ae),gn("ckieDel",Te),gn("isLoaded",!1),gn("util",{forEach:m,reduce:s,map:h,filter:g,contains:re,pairs:ge,object:k,filterObject:he,trim:x,extend:v,once:z,parseUri:_,parseQueryString:A,method:pn,shallow:ue,matchingDomainFor:Pe}),function(e){var t=0